const API = {
  // 系统监控及登录。
  getProfile: '/oauth/profile',
  login: '/oauth/token',
  loginEmergency: '/account/loginEmergency',
  register: '/register',
  lockSystem: '/lock',
  unlockSystem: '/unlock',
  turnOffCom: '/panel/turnOffCom',
  setTurnOffSchedule: '/panel/turnOffComSchedule',
  setLaser: '/panel/setLaser',
  checkAuth: '/account/check-userPass',
  getSystemStatus: '/panel/laserAndBatteryStatus',
  enterScanMode: '/system/panel/switchModeToScan',  //从任意状态进入扫描模式
  enterScanModeEmergency: '/panel/switchModeToScanEmergency',  //从任意状态进入扫描模式
  enterDefaultMode: '/panel/switchModeToDefault',
  enterTransportMode: '/panel/switchModeToMove',
  enterServiceMode: '/panel/switchModeToService',

  getSystemWarning: '/panel/systemError',
  getSystemError: '/panel/commonError',
  recoverWarning: '/panel/recoverSystemError',
  recoverError: '/panel/recoverCommonError',
  ignoreError: '/panel/ignoreSystemError',
  emergencyRelease: '/panel/emergencyRelease',

  // 移动模式
  cancelEnterMoveMode: '/panel/switchModeToMoveOff',
  checkCanEnterMoveMode: '', //检查是否能进入移动模式
  checkPowerOff: '/panel/mobileMode', //检查电源是否拔掉
  checkCircleRotateToThePoint: '/panel/CTRingReduction', //检查圆环是否旋转到位
  checkBeforeEnterScan: '/panel/checkScanCTRingReduction', //检查圆环是否旋转到位
  checkIsRaiseUp: '/panel/hydraulicRoadWheel',//检查是否抬起,angle=0(移动)或者angle=90(停下)
  getWheelProgress: '/panel/hydraulic',
  checkIsDown: '/panel/hydraulicRoadWheelDown',//检查是否放下
  openRadar: '/panel/webcamRadarOpen',
  closeRadar: '/panel/webcamRadarClose',
  getmoveSpeed: '/panel/speedList',
  setMoveSpeed: '/panel/adjustSpeed',
  submitOutMode: '/outTransportMode',
  openPowerSupply: '/panel/openPowerSupply',
  openLanding: '/panel/landingConfirmation',

  // 扫描模式
  checkCanEnterScanMode: '/panel/checkScan',
  // 病人CRUD
  getPatientList: '/system/patient/query-patients',
  updatePatient: '/system/patient/update-patient',
  deletePatient: '/system/patient/delete-patient',
  addPatient: '/system/patient/add-patient',
  getWindowPreset: '/panel/getWindowPreset',
  setWindowPreset: '/panel/addWindowPreset',
  deleteWindowPreset: '/panel/deleteWindowPreset',
  // insertWorkList: '/patient/insert-worklist',
  getImgSeriesId: '/panel/getImgSeriesId',
  queryPatientsFromPacs: '/patient/query-worklist',
  insertPatientsFromPacs: '/patient/insert-worklist',

  getImgHistoryByPatientList: '/panel/patientCTTree',
  deleteImgById: '/panel/deleteImgById',

  exportPatientsList: '/panel/uploadDcmToServer',
  getExportServerList: '/panel/dicomServers',

  // 获取扫描部位以及协议信息
  getProtocol: '/panel/queryAgreementByPattern',
  getScanOptions: '/panel/queryProtocolMapByPattern', //正常扫描获取参数
  getScanOptionsFast: '/panel/queryProtocolMapByPatternFast', //正常扫描获取参数 igps 扫描
  getScanOptions4D: '/panel/queryProtocolMapByPattern4D', //正常扫描获取参数
  get4DparamsBy3DParams: '/panel/parameterConversion-4DScan',
  check4Dparams: '/panel/Verification4D',
  getScanPosition: '/panel/queryPosition',
  getProtocolDetail: '/panel/queryProtocolByPattern',

  getProtocolByParams: '/panel/queryProtocolByParams',
  getProtocolDetailObj: '/panel/queryProtocolDetailObj',
  deleteProtocolById: '/panel/deleteProtocol',
  updateProtocol: '/panel/updateProtocol',
  saveNewProtocol: '/panel/createProtocol',
  cancelIgps: '/panel/igpsCancel',

  // scoutView
  getCurrentScanPosition: '/panel/determineLocation', // 获取当前激光灯位置
  getSuriviewparams: '/panel/querySuriviewByPosition', //获取scoutView参数
  getCurrentParamsByChoosedParams: '', // scoutView参数联动
  updateCurrentParams: '/panel/parameterCalculation', //根据现有参数，更新新的参数。
  updateCurrentParams1: '/panel/parameterCalculation1', //根据现有参数，更新新的参数。offline
  updateCurrentParamsFast: '/panel/parameterCalculationFast', //根据现有参数，更新新的参数。offline
  updateCurrentParams4D: '/panel/parameterCalculation4D', //根据现有参数，更新新的参数。
  checkIsScanable: '', //检查是否可以扫描
  getParamsCheckBeforeSubmit: '/panel/parameterConfirmation',

  getCurrentChart: '/panel/getCurrentParams',

  submitScan: '/system/panel/send-schedule', //单协议的平扫、断层、螺旋扫描
  submitScan4D: '/panel/send-schedule4D', //单协议的平扫、断层、螺旋扫描
  continueSubmitScan: '/panel/continueSubmitScan', //mA过高让用户确定是否
  continueSubmitScan4D: '/panel/continueSubmitScan4D', //mA过高让用户确定是否
  submitMultipleScan: '/panel/sendMultiProtocolPlan', // 多协议的断层、螺旋，多协议平扫调用上面接口。
  //scoutView 出图
  getScoutViewScanPositions: '',
  //呼吸门控
  setAmplitude: '/panel/setAmplitude',
  startBreath: '/panel/open-respiratoryGating',
  endBreath: '/panel/close-respiratoryGating',

  recoverScan: '/panel/recoverScan',
  endScan: '/panel/endScan',
  endScan1: '/panel/endScan1',
  submitEnd4D: '/panel/end4DScan',
  get4DCTSuspendList: '/panel/suspendList4D',
  submit4DCTSuspendList: '/panel/submit/suspendList',
  getEditXVP: '/panel/getXvp',
  getEditXVPOffline: '/panel/getXvpOffline',
  getEditXVPOfflineAfterEdit: '/panel/getXvpOfflineEdit',
  getEditBPM: '/panel/getBPM',
  needGetBPM: '/panel/needBPM',
  submitEditXVP: '/panel/submit/EditXvp',
  submitEditXVPOffline: '/panel/submit/EditXvpOffline',
  submitEditBPM: '/panel/submit/EditBPM',

  submitDomInfo: '/panel/submit/dom',

  //服务模式
  // 球管预热
  startHeat: '/panel/ballTubePreheating', // 开始加热
  endHeat: '/panel/stopBallTubePreheating',   // 停止加热
  // 空气校正
  getAirCorrectParams: '',
  startAirCorrect: '/panel/airCorrection',
  endAirCorrect: '/panel/stopBallTubePreheating',
  // 手动扫描
  getManualScanParams: '/panel/manualScanQuery',
  updateManualScanParams: '/panel/manualScanCalculation',
  submitManualScan: '/panel/manualScanSend',
  endImgQuality: '',

  // 手动扫描
  // getMockPatientList:'/patient/query-patients',
  // updateMockPatient:'/patient/update-patient',
  // deleteMockPatient:'/patient/delete-patient',
  // addMockPatient:'/patient/add-patient',

  //剂量报告
  getReport: '/panel/query_patientReport',
  exportReport: '/panel/exportExcel',
  exportReport1: '/panel/exportExcel1',

  //日常QA
  getQAOptions: '/panel/getOptions',
  getQAParams: '/panel/dailyQA',
  getQAParams1: '/panel/manualDailyQA',
  startQA: '/panel/dailyQAScan',
  startQA1: '/panel/manualScanSendDailyQA',
  endQA: '',
  saveQA: '/panel/dailyQAScan',

  //权限
  getTotalAuth: '/account/select-role',
  getUserAuthByUserID: '/account/select-userRole',
  deleteByUserIDList: '/account/del-user',
  createUser: '/account/reg-user',
  getUserList: '/account/query-user',
  updateUser: '/account/update-user',
  isUsernameExist: '/account/check-user',
  getAuthTemplate: '/account/getAuthTemplate',
  setAuthTemplate: '/account/setAuthTemplate',
  getAccountType: '/account/getAccountType',

  //机构信息设置
  getOrgInfo: '/panel/queryInstitutionalInformation',
  updateOrgInfo: '/panel/updateInstitutionalInformation',
  resetOrgInfo: '/panel/resetInstitutionalInformation',

  //dicom传输设置
  getDicomList: '/panel/queryDcmSetup',
  testDicomConnection: '/panel/testDcmConnection',
  deleteDicom: '/panel/deleteDcmSetup',
  saveDicom: '/panel/insertDcmSetup',
  resetDicom: '/panel/resetDcmSetup',
  getAllEncodingSet: '/panel/getAllEncodingSet',
  setPreEncodingSet: '/panel/setEncodingSet',

  //log
  getSchedule: '/panel/queryJournal',
  saveSchedule: '/panel/retainJournal',
  getFileList: '/panel/logFileList',
  getLogList: '/panel/logList',
  getAuditLogList: '/panel/auditLogList',

  exportLog: '/panel/exportLogToUSB',
  exportAuditLog: '/panel/exportAuditLogToUSB',

  getUSBList: '/panel/getUSBList',


  //磁盘管理
  getDiskPreset: '/panel/presetDisk',
  updateDiskSet: '/panel/updateDisk',
  resetDiskSet: '/panel/resetDisk',
  checkCurrentDisk: '/s/disk/check',
  getDiskTree: '/panel/directoryDisk',
  getDiskTree2: '/panel/directoryDisk2',
  exportDisk: '/panel/exportDisk',
  exportDisk1: '/panel/rawDataExportToU',
  deleteDisk: '/panel/deleteDisk',
  getDiskUseList: '/panel/getDiskUseList',
  getDiskAlertList: '/panel/getDiskAlertList',
  setDiskAlertList: '/panel/setDiskAlertList',


  // 远程升级
  getUpdateVersion: '/panel/versionInfo',
  getUpdateDetail: '/panel/progressDetails',
  remoteUpdateStart: '/panel/onlineUpgradeStart',
  remoteUpdateEnd: '/panel/onlineUpgradeEnd',
  localUpdateStart: '/panel/firmwareUpdateStart',
  localUpdateEnd: '/panel/firmwareUpdateEnd',

  // 服务模式报告
  getServiceReport_bulb: '/panel/query-ballTubeReportReport',
  getServiceReport_air: '/panel/query-airCorrectionReport',
  getServiceReport_manual: '/panel/query-manualScanReport',
  getServiceReport_normal: '/panel/query-dailyReport',

  exportServiceReport: '/panel/exportExcel2',

  getDoseSetting: '/panel/getDoseSetting',
  setDoseSetting: '/panel/setDoseSetting',
  checkDoseOk: '/panel/checkDose',

  // 性能评估
  getImgAddress: '/panel/queryAddressByAddressFK',

  //viewer
  getViewerInfo: '/panel/queryViewerInfo',
  setViewerInfo: '/panel/setViewerInfo',


  //hardwareTest
  getHardwareTestParams: '/panel/getHardwareTestParams',
  submitHardwareTestParams: '/panel/submitHardwareTestParams',
  openWsHardwareTest: '/panel/openWsHardwareTest',
  closeWsHardwareTest: '/panel/closeWsHardwareTest',

  // batteryManage
  getBatteryInfo: '/panel/getBatteryInfo',
  setBatteryCondition: '/panel/setBatteryCondition',
  resetBatteryCondition: '/panel/resetBatteryCondition',

  // 重建
  getReconstructRecordsByPatientID: '/panel/queryAllPatientRecordsId',
  getReconstructParams: '/panel/queryPatientRecords',
  // 患者列表离线重建
  getReconstructParams1: '/panel/queryPatientRecords1',
  submitReconstructParams: '/panel/send-scheduleOfflineScan',
  submitReconstructParams1: '/panel/send-scheduleOfflineScan1',

  //系统运行统计
  getSystemStatistics: '/panel/getRunDetection',
  resetSystemStatistics: '/panel/resetSystemStatistics',

  goZero: '/panel/CtBedCodeZeroPosition'
}

export default API
